package com.whw.fy.service;

import com.whw.fy.entity.Message;
import com.whw.fy.entity.Parent;

import java.text.ParseException;import java.util.List;

public interface ParentService {


    Message deleteByPrimaryKey(Integer parentId);

    Message insert(Parent record);

    Message insertSelective(Parent record);

    Message selectByPrimaryKey(Integer parentId);

    Message updateByPrimaryKeySelective(Parent record) throws ParseException;

    Message updateByPrimaryKey(Parent record);

    Message mohuSearchParentName(String parentName);

    Message selectParentNameAndCall();

    Message selectByParentSex(String sex);

    Message selectParentNameAndCallBySex(String sex);

    Message selectAll();

    int updateBatch(List<Parent> list);

    int updateBatchSelective(List<Parent> list);

    int batchInsert(List<Parent> list);
}


